<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::MultilevelLevelSet Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_multilevel_level_set.html">MultilevelLevelSet</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_s_p_h_1_1_multilevel_level_set-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::MultilevelLevelSet Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Inherits <a class="el" href="class_s_p_h_1_1_multilevel_mesh.html">SPH::MultilevelMesh&lt; BaseLevelSet, LevelSet, RefinedLevelSet &gt;</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a38b4f6904bb356ca8b13800b9d0a053c"><td class="memItemLeft" align="right" valign="top"><a id="a38b4f6904bb356ca8b13800b9d0a053c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MultilevelLevelSet</b> (<a class="el" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a> tentative_bounds, Real reference_data_spacing, <a class="el" href="classsize__t.html">size_t</a> total_levels, <a class="el" href="class_s_p_h_1_1_shape.html">Shape</a> &amp;shape, <a class="el" href="class_s_p_h_1_1_s_p_h_adaptation.html">SPHAdaptation</a> &amp;sph_adaptation)</td></tr>
<tr class="separator:a38b4f6904bb356ca8b13800b9d0a053c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4af087e3dbeaa49c3e2094cbf011166"><td class="memItemLeft" align="right" valign="top"><a id="af4af087e3dbeaa49c3e2094cbf011166"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>cleanInterface</b> (Real small_shift_factor) override</td></tr>
<tr class="separator:af4af087e3dbeaa49c3e2094cbf011166"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab11d41604c51d3326103c235be8a451c"><td class="memItemLeft" align="right" valign="top"><a id="ab11d41604c51d3326103c235be8a451c"></a>
virtual <a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>probeIsWithinMeshBound</b> (const Vecd &amp;position) override</td></tr>
<tr class="separator:ab11d41604c51d3326103c235be8a451c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a609311ab080dcbceeeb726163ef2da32"><td class="memItemLeft" align="right" valign="top"><a id="a609311ab080dcbceeeb726163ef2da32"></a>
virtual Real&#160;</td><td class="memItemRight" valign="bottom"><b>probeSignedDistance</b> (const Vecd &amp;position) override</td></tr>
<tr class="separator:a609311ab080dcbceeeb726163ef2da32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f6225a1898daa80721822802e0045e2"><td class="memItemLeft" align="right" valign="top"><a id="a2f6225a1898daa80721822802e0045e2"></a>
virtual Vecd&#160;</td><td class="memItemRight" valign="bottom"><b>probeNormalDirection</b> (const Vecd &amp;position) override</td></tr>
<tr class="separator:a2f6225a1898daa80721822802e0045e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29113fd6b185cc994cccba3563aae467"><td class="memItemLeft" align="right" valign="top"><a id="a29113fd6b185cc994cccba3563aae467"></a>
virtual Vecd&#160;</td><td class="memItemRight" valign="bottom"><b>probeLevelSetGradient</b> (const Vecd &amp;position) override</td></tr>
<tr class="separator:a29113fd6b185cc994cccba3563aae467"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf5b0ae48a05574716849b53f23d0a83"><td class="memItemLeft" align="right" valign="top"><a id="aaf5b0ae48a05574716849b53f23d0a83"></a>
virtual Real&#160;</td><td class="memItemRight" valign="bottom"><b>probeKernelIntegral</b> (const Vecd &amp;position, Real h_ratio=1.0) override</td></tr>
<tr class="separator:aaf5b0ae48a05574716849b53f23d0a83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21036383e6c0baa7733ea14af9252849"><td class="memItemLeft" align="right" valign="top"><a id="a21036383e6c0baa7733ea14af9252849"></a>
virtual Vecd&#160;</td><td class="memItemRight" valign="bottom"><b>probeKernelGradientIntegral</b> (const Vecd &amp;position, Real h_ratio=1.0) override</td></tr>
<tr class="separator:a21036383e6c0baa7733ea14af9252849"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_multilevel_mesh"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_multilevel_mesh')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_multilevel_mesh.html">SPH::MultilevelMesh&lt; BaseLevelSet, LevelSet, RefinedLevelSet &gt;</a></td></tr>
<tr class="memitem:a5abfb6e94f6eb06ec9e962a7c9006451 inherit pub_methods_class_s_p_h_1_1_multilevel_mesh"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_multilevel_mesh.html#a5abfb6e94f6eb06ec9e962a7c9006451">MultilevelMesh</a> (<a class="el" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a> tentative_bounds, Real reference_spacing, <a class="el" href="classsize__t.html">size_t</a> total_levels, Args &amp;&amp;...args)</td></tr>
<tr class="separator:a5abfb6e94f6eb06ec9e962a7c9006451 inherit pub_methods_class_s_p_h_1_1_multilevel_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90c396b58785a245429763c383dc8572 inherit pub_methods_class_s_p_h_1_1_multilevel_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a90c396b58785a245429763c383dc8572"></a>
StdVec&lt; <a class="el" href="class_s_p_h_1_1_level_set.html">LevelSet</a> *&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getMeshLevels</b> ()</td></tr>
<tr class="separator:a90c396b58785a245429763c383dc8572 inherit pub_methods_class_s_p_h_1_1_multilevel_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1b0bdebc668c2a90138e28d8fea40f6 inherit pub_methods_class_s_p_h_1_1_multilevel_mesh"><td class="memItemLeft" align="right" valign="top"><a id="ae1b0bdebc668c2a90138e28d8fea40f6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>writeMeshFieldToPlt</b> (std::ofstream &amp;output_file) override</td></tr>
<tr class="separator:ae1b0bdebc668c2a90138e28d8fea40f6 inherit pub_methods_class_s_p_h_1_1_multilevel_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_level_set"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_level_set')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_level_set.html">SPH::BaseLevelSet</a></td></tr>
<tr class="memitem:a79a5efcd302e8a496f0dcc147174af8a inherit pub_methods_class_s_p_h_1_1_base_level_set"><td class="memItemLeft" align="right" valign="top"><a id="a79a5efcd302e8a496f0dcc147174af8a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BaseLevelSet</b> (<a class="el" href="class_s_p_h_1_1_shape.html">Shape</a> &amp;shape, <a class="el" href="class_s_p_h_1_1_s_p_h_adaptation.html">SPHAdaptation</a> &amp;sph_adaptation)</td></tr>
<tr class="separator:a79a5efcd302e8a496f0dcc147174af8a inherit pub_methods_class_s_p_h_1_1_base_level_set"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_mesh_field"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_mesh_field')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_mesh_field.html">SPH::BaseMeshField</a></td></tr>
<tr class="memitem:a4082c89e76d3475b1baf004e6f693f96 inherit pub_methods_class_s_p_h_1_1_base_mesh_field"><td class="memItemLeft" align="right" valign="top"><a id="a4082c89e76d3475b1baf004e6f693f96"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BaseMeshField</b> (const std::string &amp;name)</td></tr>
<tr class="separator:a4082c89e76d3475b1baf004e6f693f96 inherit pub_methods_class_s_p_h_1_1_base_mesh_field"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99836246319d1b9faa6bc3984cf27e1d inherit pub_methods_class_s_p_h_1_1_base_mesh_field"><td class="memItemLeft" align="right" valign="top"><a id="a99836246319d1b9faa6bc3984cf27e1d"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>Name</b> ()</td></tr>
<tr class="separator:a99836246319d1b9faa6bc3984cf27e1d inherit pub_methods_class_s_p_h_1_1_base_mesh_field"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aefa572b604e9b813081e37ed3780de0f"><td class="memItemLeft" align="right" valign="top"><a id="aefa572b604e9b813081e37ed3780de0f"></a>
<a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getProbeLevel</b> (const Vecd &amp;position)</td></tr>
<tr class="separator:aefa572b604e9b813081e37ed3780de0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23b4f94f536bd1e4ad57c6de69d5fa43"><td class="memItemLeft" align="right" valign="top"><a id="a23b4f94f536bd1e4ad57c6de69d5fa43"></a>
<a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getMeshLevel</b> (Real h_ratio)</td></tr>
<tr class="separator:a23b4f94f536bd1e4ad57c6de69d5fa43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_s_p_h_1_1_base_level_set"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_s_p_h_1_1_base_level_set')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_level_set.html">SPH::BaseLevelSet</a></td></tr>
<tr class="memitem:a83ab6a0b58428b5a34b8325d63ea9976 inherit pro_methods_class_s_p_h_1_1_base_level_set"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_level_set.html#a83ab6a0b58428b5a34b8325d63ea9976">computeHeaviside</a> (Real phi, Real half_width)</td></tr>
<tr class="separator:a83ab6a0b58428b5a34b8325d63ea9976 inherit pro_methods_class_s_p_h_1_1_base_level_set"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_multilevel_mesh"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_multilevel_mesh')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_multilevel_mesh.html">SPH::MultilevelMesh&lt; BaseLevelSet, LevelSet, RefinedLevelSet &gt;</a></td></tr>
<tr class="memitem:aa73c3c4cc3b1981f296897da9915f467 inherit pro_attribs_class_s_p_h_1_1_multilevel_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_multilevel_mesh.html#aa73c3c4cc3b1981f296897da9915f467">total_levels_</a></td></tr>
<tr class="separator:aa73c3c4cc3b1981f296897da9915f467 inherit pro_attribs_class_s_p_h_1_1_multilevel_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeea74f43a36581696999418dd9664ca2 inherit pro_attribs_class_s_p_h_1_1_multilevel_mesh"><td class="memItemLeft" align="right" valign="top"><a id="aeea74f43a36581696999418dd9664ca2"></a>
StdVec&lt; <a class="el" href="class_s_p_h_1_1_level_set.html">LevelSet</a> *&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mesh_levels_</b></td></tr>
<tr class="separator:aeea74f43a36581696999418dd9664ca2 inherit pro_attribs_class_s_p_h_1_1_multilevel_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_base_level_set"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_base_level_set')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_level_set.html">SPH::BaseLevelSet</a></td></tr>
<tr class="memitem:a51d40c166d908d955e0dc89e55111224 inherit pro_attribs_class_s_p_h_1_1_base_level_set"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_shape.html">Shape</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_level_set.html#a51d40c166d908d955e0dc89e55111224">shape_</a></td></tr>
<tr class="separator:a51d40c166d908d955e0dc89e55111224 inherit pro_attribs_class_s_p_h_1_1_base_level_set"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af99c93a87ba5fe3ee81a78d1b3523166 inherit pro_attribs_class_s_p_h_1_1_base_level_set"><td class="memItemLeft" align="right" valign="top"><a id="af99c93a87ba5fe3ee81a78d1b3523166"></a>
<a class="el" href="class_s_p_h_1_1_s_p_h_adaptation.html">SPHAdaptation</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>sph_adaptation_</b></td></tr>
<tr class="separator:af99c93a87ba5fe3ee81a78d1b3523166 inherit pro_attribs_class_s_p_h_1_1_base_level_set"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_base_mesh_field"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_base_mesh_field')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_mesh_field.html">SPH::BaseMeshField</a></td></tr>
<tr class="memitem:a0e49422f87e826b50b3f02bf9c8ad9c4 inherit pro_attribs_class_s_p_h_1_1_base_mesh_field"><td class="memItemLeft" align="right" valign="top"><a id="a0e49422f87e826b50b3f02bf9c8ad9c4"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>name_</b></td></tr>
<tr class="separator:a0e49422f87e826b50b3f02bf9c8ad9c4 inherit pro_attribs_class_s_p_h_1_1_base_mesh_field"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/geometries/<a class="el" href="level__set_8h_source.html">level_set.h</a></li>
<li>SPHINXsys/src/shared/geometries/<a class="el" href="level__set_8cpp.html">level_set.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
